#include "Complex.h"
#include<iostream>
using namespace std;
Complex::Complex()
{
	m_real = 0;
	m_imag = 0;
};
Complex::Complex(double x, double y)
{
	m_real = x;
	m_imag = y;
};
Complex Complex::operator+(Complex& m)
{
	Complex c;
	c.m_real = m_real + m.m_real;
	c.m_imag = m_imag + m.m_imag;
	return c;
};
void Complex::Display()
{
	cout << "(" << m_real << "," << m_imag << ")" << endl;
};
